package com.wonder.admin.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.Getter;
import lombok.Setter;

import java.util.Date;

@Data
@Getter
@Setter
public class SysPrdInDetail extends Model<SysPrdInDetail> {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    @ApiModelProperty(name = "id" , value = "主键id")
    private Integer id;

    /**
     * 入库单号
     */
    @TableField(value = "bill_no")
    @ApiModelProperty(name = "bill_no" , value = "入库单号")
    private String billNo;

    /**
     * 生产车间
     */
    @TableField(value = "room")
    @ApiModelProperty(name = "bill_no" , value = "生产车间")
    private String room;

    /**
     * 物料编码
     */
    @TableField(value = "material_no")
    @ApiModelProperty(name = "material_no" , value = "物料编码")
    private String material_no;

    /**
     * 物料名称
     */
    @TableField(value = "material_name")
    @ApiModelProperty(name = "material_name" , value = "物料名称")
    private String material_name;

    /**
     * 物料规格
     */
    @TableField(value = "material_spec")
    @ApiModelProperty(name = "material_spec" , value = "物料规格")
    private String material_spec;

    /**
     * 批号
     */
    @TableField(value = "batch_no")
    @ApiModelProperty(name = "batch_no" , value = "物料规格")
    private String batch_no;

    /**
     * 创建人
     */
    @TableField(value = "create_user_name")
    @ApiModelProperty(name = "create_user_name" , value = "创建人")
    private String create_user_name;

    /**
     * 创建时间
     */
    @TableField(value = "create_time")
    @ApiModelProperty(name = "create_time" , value = "创建时间")
    private Date create_time;
}
